package com.uwlaser.service.dto;

import lombok.Getter;
import lombok.Setter;
import java.util.List;
import java.util.Date;
import com.uwlaser.annotation.Query;
import org.springframework.format.annotation.DateTimeFormat;

/**
* @author zk-Qin
* @date 2022-05-11
*/
@Getter
@Setter
public class DataMainQueryParam{

    /** 精确 */
    @Query
    private String id;

    /** 精确 */
    @Query
    private String productSn;

    /** 精确 */
    @Query
    private String productCode;

    /** 精确 */
    @Query
    private String productType;

    /** 精确 */
    @Query
    private String orderCode;

    /** 精确 */
    @Query
    private String workOrderCode;

    /** 精确 */
    @Query
    private String result;

    /** 精确 */
    @Query
    private String lienCode;

    /** 精确 */
    @Query
    private String sectionCode;

    /** 精确 */
    @Query
    private String pathCode;

    /** 精确 */
    @Query
    private String pathVersion;

    /** 精确 */
    @Query
    private String paramsCode;

    /** 精确 */
    @Query
    private String paramsVersion;

    /** 精确 */
    @Query
    private String bomCode;

    /** 精确 */
    @Query
    private String bomVersion;

    /** 精确 */
    @Query
    private String untitled1;

    /** 精确 */
    @Query
    private String aisleCode;

    /** 精确 */
    @Query
    private String trayCode;

    /** 精确 */
    @Query
    private String createBy;

    /** 精确 */
    @Query
    private String updateBy;

    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> startTime;
    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> endTime;
    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> createTime;
    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> updateTime;

    @Query
    private String year;

    @Query
    private String month;

    /*天数*/
    @Query
    private String num;
}
